﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public abstract class Generator_Basic : MonoBehaviour
{
    protected string theTag;
    virtual protected void Start()
    {
        SetTag();
    }
    abstract protected void SetTag();
    virtual protected void Remove(GameObject obj)
    {
        //Debug.Log("Remove " + obj.tag + " called.");
        GetComponent<PoolManager>().RealPools[theTag].RemoveObject(obj);
    }
}
